home *** CD-ROM | disk | FTP | other *** search
- on startMovie
- global gCursorReady
- set the volume of sound 2 to 65
- cursor(200)
- sprite(46).visible = 0
- puppetSprite(46, 1)
- gCursorReady = 0
- set the mouseDownScript to EMPTY
- set the mouseUpScript to EMPTY
- sprite(22).visible = 0
- end
-
- on stopMovie
- set the volume of sound 2 to 255
- end
-
- on initmovies
- nothing()
- end
-
- on initRollover
- if rollOver(14) then
- sprite(15).visible = 1
- else
- sprite(15).visible = 0
- end if
- if rollOver(16) then
- sprite(17).visible = 1
- else
- sprite(17).visible = 0
- end if
- if rollOver(18) then
- sprite(19).visible = 1
- else
- sprite(19).visible = 0
- end if
- if rollOver(20) then
- sprite(21).visible = 1
- else
- sprite(21).visible = 0
- end if
- end
-
- on checktheroll
- repeat with i = 1 to 48
- if rollOver(i) then
- put i
- end if
- end repeat
- end
-
- on idle
- global gCursorReady
- if gCursorReady = 1 then
- cursor(200)
- checkCursors()
- set the locH of sprite 46 to the mouseH
- set the locV of sprite 46 to the mouseV
- updateStage()
- end if
- end
-
- on checkCursors
- global gMagCursor
- set the castNum of sprite 46 to the number of member "curs1"
- if the castNum of sprite 23 and rollOver(23) then
- set the castNum of sprite 46 to the number of member gMagCursor
- end if
- if rollOver(3) then
- set the castNum of sprite 46 to the number of member "cursLeft"
- end if
- if rollOver(4) then
- set the castNum of sprite 46 to the number of member "cursRight"
- end if
- if rollOver(5) then
- set the castNum of sprite 46 to the number of member "cursDown"
- end if
- if rollOver(6) then
- set the castNum of sprite 46 to the number of member "cursUp"
- end if
- if rollOver(10) then
- set the castNum of sprite 46 to the number of member "hotCursor"
- end if
- repeat with i = 23 to 25
- if the castNum of sprite i and rollOver(i) then
- set the castNum of sprite 46 to the number of member "magCursor"
- end if
- end repeat
- if the castNum of sprite 26 and rollOver(26) then
- set the castNum of sprite 46 to the number of member "deMagCursor"
- end if
- if rollOver(27) then
- set the castNum of sprite 46 to the number of member "hotCursor"
- end if
- end
-